package com.lyc.day1107.demo02;

/**
 * @author ：Xiaochen
 * @date ：Created in 2022/11/7 21:28
 * @description：
 * @modified By：
 * @version:
 */
public class Test {
    public static void main(String[] args) {
        Singleton s1=Singleton.getInstance();
        Singleton s2 = Singleton.getInstance();
        Singleton s3 = Singleton.getInstance();

        System.out.println(s1);
        System.out.println(s2);
        System.out.println(s3);
    }
}